﻿namespace KingerRobot.MexicoSailunMDC.Spi;
/// <summary>
/// EMS 小车服务
/// </summary>
public interface ICuringEmsIntoTankService
{
    /// <summary>
    /// 取胎位和Ems小车获取任务 (增加安全信号)
    ///
    //(long, long) CreateTask(long locIdA, long locIdB, long equipIdA, long equipIdB);
    EmsTaskResult CreateTaskV2(long locIdA, long locIdB, long equipIdA, long equipIdB);
    /// <summary>
    /// 硫化入罐任务执行
    /// </summary>
    /// <param name="taskNo">任务编号</param>
    int ExecuteTask(int taskNo);
    /// <summary>
    /// 硫化入罐任务完成
    /// </summary>
    /// <param name="taskNo">任务编号</param>
    int FinishTask(int taskNo);



}

public class EmsTaskResult
{
    public long CmdIdA { get; set; }
    public long CmdIdB { get; set; }
}
public class EmsTasksBean
{

    public long? CurrentEquip { get; set; }

    public long? TargetLocs { get; set; }
}